package service.impl.v2;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import dao.v2.PackageVOMapper;
import model.PackageVO;
import service.v2.PackageService;

@Service
public class PackageServiceImpl implements PackageService {
	@Autowired
	private PackageVOMapper dao;

	public List<PackageVO> getPackageListAll(String lang) {
		return dao.getPackageListAll(lang);
	}

	public PackageVO getPackageById(String package_id) {
		return dao.getPackageById(package_id);
	}

	public String getPackageByGood(String id) {
		return dao.getPackageByGood(id);
	}

	@Override
	public PackageVO getPackageListOne(String lang) {
		return dao.getPackageListOne(lang);
	}

	@Override
	public PackageVO getPackageByPackageIdAndStandardId(String package_id, String standard_id) {
		return dao.getPackageByPackageIdAndStandardId(package_id,standard_id);
	}
	
}
